package org.lease.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.lease.mapper.ApartmentLabelMapper;
import org.lease.model.entity.ApartmentLabel;
import org.lease.model.entity.LabelInfo;
import org.lease.service.ApartmentLabelService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApartmentLabelServiceImpl extends ServiceImpl<ApartmentLabelMapper, ApartmentLabel> implements ApartmentLabelService {
    @Override
    public List<LabelInfo> listWithLabelInfo(Long apartmentId) {
        return baseMapper.listWithLabelInfo(apartmentId);
    }
}
